package com.zzyl.nursing.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 护理任务对象 nursing_task
 *
 * @author ruoyi
 * @date 2025-09-24
 */
@Data
@ApiModel(description = "取消护理任务请求参数")
public class CancelNursingTaskDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 取消原因 */
    @Excel(name = "取消原因")
    @ApiModelProperty(value = "取消原因")
    private String reason;

    /*执行时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计执行时间")
    private LocalDateTime estimatedServerTime;

    @ApiModelProperty(value = "执行记录")
    private String mark;

    @ApiModelProperty(value = "任务图片")
    private String taskImage;
}
